Avoid printStackTrace(); use a logger call instead.

<p>
  This rule is deprecated, use {rule:java:S1148} instead.
</p>
